import { userType } from "../../../types";
import DepartmentService from "./selector/deparment/service";
import InitiatorService from "../selector/initiator/service";
import RoleService from "./selector/role/service";
import UserService from "./selector/user/service";

/** 选择器 */
export const selectors = {
  user: {
    label: '指定用户',
    value: userType.user,
    Service: UserService
  },
  initiator: {
    label: '发起人',
    value: userType.initiator,
    Service: InitiatorService
  },
  role: {
    label: '角色',
    value: userType.role,
    Service: RoleService
  },
  department: {
    label: '部门',
    value: userType.department,
    Service: DepartmentService
  }
};
